package cn.sstech.member.core.util.result;

import cn.sstech.member.core.util.Field;

/**
 * @author chenx
 * @date 2017年3月15日
 * @version V1.0
 * @description: 
 */
public class RetResultCode {

	/**
	 * 操作成功
	 */
	public static final Field HANDLER_SUCCESS = new Field("success", 1, "操作成功");
	/**
	 * 操作失败
	 */
	public static final Field HANDLER_FIELED = new Field("failed", 0, "操作失败");
	
	
	/**
	 * 响应True
	 */
	public static final Field BOOLEAN_TRUE = new Field("true", 1, "是");
	/**
	 * 响应False
	 */
	public static final Field BOOLEAN_FALSE = new Field("false", 0, "否");
	
	
	
	/**
	 * token验证失败
	 */
	public static final Field E10001 = new Field(10001, "token验证失败");
	/**
	 * 登录超时
	 */
	public static final Field E10002 = new Field(10002, "登录超时");
	/**
	 * 用户验证失败
	 */
	public static final Field E10003 = new Field(10003, "用户验证失败");
	
	/**
	 * 参数错误
	 */
	public static final Field E11001 = new Field(11001, "参数错误");

	/**
	 * 会员卡未适用任何门店
	 */
	public static final Field E11002 = new Field(11002, "会员卡未适用任何门店");
	/**
	 * 未找到对应门店
	 */
	public static final Field E11003 = new Field(11003, "未找到对应门店");
	/**
	 * id为空
	 */
	public static final Field E11004 = new Field(11004, "id为空");
	/**
	 * 时间格式不正确
	 */
	public static final Field E11005 = new Field(11004, "时间格式不正确");
	/**
	 * 会员卡ID为空
	 */
	public static final Field E11006 = new Field(11006, "会员卡ID为空");
	/**
	 * 会员ID为空
	 */
	public static final Field E11007 = new Field(11007, "会员ID为空");
	
	/**
	 * 订单ID不能为空
	 */
	public static final Field E11008 = new Field(11007, "订单ID不能为空");
	/**
	 * 订单状态不能为空
	 */
	public static final Field E11009 = new Field(11007, "订单状态不能为空");
	/**
	 * 卡来源不能为空
	 */
	public static final Field E11010 = new Field(11010, "卡来源不能为空");
	
	/**
	 * 门店ID不能为空
	 */
	public static final Field E11011 = new Field(11011, "门店ID不能为空");
	
	/**
	 * 会员系统设置ID不能为空
	 */
	public static final Field E11012 = new Field(11012, "会员系统设置ID不能为空");
	
	/**
	 * ID对应多条会员系统设置
	 */
	public static final Field E11013 = new Field(11013, "ID对应多条会员系统设置");
	/**
	 * 未找到对应会员卡
	 */
	public static final Field E11014 = new Field(11014, "未找到对应会员卡");
	/**
	 * 卡金额过低，无法修改
	 */
	public static final Field E11015 = new Field(11014, "卡金额过低，无法修改");
	/**
	 * 卡次数过低，无法修改
	 */
	public static final Field E11016 = new Field(11014, "卡次数过低，无法修改");
	/**
	 * 卡积分过低，无法修改
	 */
	public static final Field E11017 = new Field(11014, "卡积分过低，无法修改");
	/**
	 * 会员卡状态错误
	 */
	public static final Field E11018 = new Field(11018, "会员卡状态错误");
	
	/**
	 * 添加会员失败
	 */
	public static final Field E11019 = new Field(11019, "添加会员失败");
	/**
	 * 会员不能重复添加
	 */
	public static final Field E11020 = new Field(11020, "会员不能重复添加");
	/**
	 * 手机号错误
	 */
	public static final Field E11021 = new Field(11021, "手机号错误");
	/**
	 * 佣金已发放
	 */
	public static final Field E11022 = new Field(11022, "佣金已发放");
	/**
	 * 订单不存在
	 */
	public static final Field E11023 = new Field(11023, "订单不存在");


	/**
	 * 会员卡信息缺失
	 */
	public static final Field E11024 = new Field(11024, "会员卡信息缺失");
	/**
	 * 优惠卷信息缺失
	 */
	public static final Field E11025 = new Field(11025, "优惠卷信息缺失");
	/**
	 * 积分抵现信息缺失
	 */
	public static final Field E11026 = new Field(11026, "积分抵现信息缺失");
	
	/**
	 * 会员卡已超过有效期
	 */
	public static final Field E11027 = new Field(11027, "会员卡已超过有效期");
	/**
	 * 会员卡不在指定消费时段
	 */
	public static final Field E11028 = new Field(11028, "会员卡不在指定消费时段");
	/**
	 * 不能使用该会员卡
	 */
	public static final Field E11029 = new Field(11029, "不能使用该会员卡");
	
	/**
	 * 会员卡余额不足
	 */
	public static final Field E11030 = new Field(11030, "会员卡余额不足");
	/**
	 * 优惠卷超额抵扣
	 */
	public static final Field E11031 = new Field(11031, "优惠卷超额抵扣");
	/**
	 * 积分超额抵扣
	 */
	public static final Field E11032 = new Field(11032, "积分超额抵扣");

	/**
	 * 会员卡使用次数不足
	 */
	public static final Field E11033 = new Field(11033, "会员卡使用次数不足");
	/**
	 * 该会员卡不能积分抵扣
	 */
	public static final Field E11034 = new Field(11034, "该会员卡不能积分抵扣");
	/**
	 * 该会员卡未激活
	 */
	public static final Field E11035 = new Field(11035, "该会员卡未激活");
	/**
	 * 订单已支付
	 */
	public static final Field E11036 = new Field(11036, "订单已支付");
	/**
	 * 订单已取消
	 */
	public static final Field E11037 = new Field(11037, "订单已取消");
	/**
	 * 该卷不能抵现
	 */
	public static final Field E11038 = new Field(11038, "该卷不能抵现");
	/**
	 * 未达到最低消费金额
	 */
	public static final Field E11039 = new Field(11039, "未达到最低消费金额");
	/**
	 * 支付金额错误
	 */
	public static final Field E11040 = new Field(11040, "支付金额错误");
	/**
	 * 该会员不存在
	 */
	public static final Field E11041 = new Field(11041, "该会员不存在");
	/**
	 * 未在指定消费时间段
	 */
	public static final Field E11042 = new Field(11042, "未在指定消费时间段");
	/**
	 * 已购买该会员卡
	 */
	public static final Field E11043 = new Field(11043, "已购买该会员卡");
	/**
	 * 第一次使用，请开启 会员系统
	 */
	public static final Field E11050 = new Field(11050, "第一次使用，请开启 会员系统");
	/**
	 * 会员卡未开启折扣优惠
	 */
	public static final Field E11044 = new Field(11044, "会员卡未开启折扣优惠");
	/**
	 * 该会员已存在
	 */
	public static final Field E11051 = new Field(11051, "该会员已存在");
	/**
	 * 会员卡已被激活
	 */
	public static final Field E11052 = new Field(11052, "会员卡已被激活");
	/**
	 * 未获取佣金记录
	 */
	public static final Field E11053 = new Field(11053, "未获取佣金记录");
	/**
	 * 发放佣金超额
	 */
	public static final Field E11054 = new Field(11054, "发放佣金超额");
	/**
	 * 佣金金额过少
	 */
	public static final Field E11055 = new Field(11055, "佣金金额过少");
	
	
	/**
	 * 优惠券不存在
	 */
	public static final Field E32005 = new Field(32005, "优惠券不存在");
	/**
	 * 无法使用此优惠券
	 */
	public static final Field E32006 = new Field(32006, "无法使用此优惠券");
	/**
	 * 优惠券已过期，无法使用
	 */
	public static final Field E32007 = new Field(32007, "优惠券已过期，无法使用");
	/**
	 * 优惠券已使用过，不能重复使用
	 */
	public static final Field E32008 = new Field(32008, "优惠券已使用过，不能重复使用");
	/**
	 * 未满足积分低现条件
	 */
	public static final Field E33002 = new Field(33002, "未满足积分低现条件");
	/**
	 * 门店会员系统未开启
	 */
	public static final Field E32020 = new Field(32020, "门店会员系统未开启");
	/**
	 * 不是对应门店下会员
	 */
	public static final Field E32010 = new Field(32010, "不是对应门店下会员");
	/**
	 * 会员暂无可用积分
	 */
	public static final Field E32011 = new Field(32011, "会员暂无可用积分");
	/**
	 * 无法使用积分抵现
	 */
	public static final Field E32012 = new Field(32012, "无法使用积分抵现");
	/**
	 * 对应的数据不存在
	 */
	public static final Field E13001 = new Field(13001, "对应的数据不存在");
	/**
	 * 券量不足
	 */
	public static final Field E70001 = new Field(70001, "券量不足");
	/**
	 * 券已被全部抢完
	 */
	public static final Field E72014 = new Field(72014, "券已被全部抢完");
	/**
	 * 超过购券限制
	 */
	public static final Field E72006 = new Field(72006, "超过购券限制");
	/**
	 * 超过领取限制
	 */
	public static final Field E72009 = new Field(72009, "超过领取限制");
	/**
	 * 券已被领取
	 */
	public static final Field E72010 = new Field(72010, "券已被领取");
	
	/**
	 * 此优惠活动未开始
	 */
	public static final Field E72011 = new Field(72011, "此优惠活动未开始");
	
	/**
	 * 超过单日领取限制
	 */
	public static final Field E72017 = new Field(72017, "超过单日领取限制");
	
	/**
	 * 签名验证失败
	 */
	public static final Field E81011 = new Field(81011, "签名验证失败");
}
